import QtQuick
import QtQuick3D

import QtQuick.Timeline

Node {
    id: node

    // Resources

    // Nodes:
    Node {
        id: rootNode
        Node {
            id: player
            Node {
                id: controller
            }
            Node {
                id: bone
                Node {
                    id: ___1
                    y: 75.49805450439453
                    rotation: Qt.quaternion(0.707105, 0.707105, 0.00162826, 0.0016312)
                    Node {
                        id: rightLegRoot
                        x: -12.550594329833984
                        y: -4.586137073131057e-15
                        z: 0.16846837103366852
                        rotation: Qt.quaternion(0.254486, 0.663013, 0.658175, -0.249913)
                        scale.x: 1
                        scale.y: 1
                        scale.z: 1
                        Node {
                            id: rightKnee
                            x: 2.4112125629471848e-09
                            y: -1.9539925233402755e-14
                            z: -37.5
                            rotation: Qt.quaternion(0.955667, 0.00135606, 0.294446, -1.5227e-11)
                            Node {
                                id: rightfoot
                                x: 3.907985046680551e-13
                                y: 1.2434497875801753e-14
                                z: -37.5
                            }
                        }
                    }
                    Node {
                        id: leftLegRoot
                        x: 12.5
                        y: 1.1211681112399674e-06
                        z: 0.16846837103366852
                        rotation: Qt.quaternion(-0.0729365, 0.704823, 0.701515, 0.076037)
                        Node {
                            id: leftKnee
                            x: 2.411209010233506e-09
                            y: -1.0658141036401503e-14
                            z: -37.5
                            rotation: Qt.quaternion(0.981215, 0.000888464, 0.192915, 1.48305e-11)
                            scale.x: 1
                            scale.y: 1
                            scale.z: 1
                            Node {
                                id: leftfoot
                                x: 3.836930773104541e-13
                                y: 2.1316282072803006e-14
                                z: -37.5
                            }
                        }
                    }
                    Node {
                        id: ___2
                        x: 5.551115123125783e-17
                        y: -1.0068409593468747e-15
                        z: -6.25
                        rotation: Qt.quaternion(1, 1.21782e-09, -0.000422194, -7.039e-06)
                        Node {
                            id: ___3
                            y: 2.4063909569963134e-16
                            z: -6.25
                            rotation: Qt.quaternion(1, 1.11791e-08, -0.000421504, -1.65985e-05)
                            Node {
                                id: ___4
                                x: 2.7755575615628914e-17
                                y: -1.087558117022526e-15
                                z: -6.25
                                rotation: Qt.quaternion(1, 2.92142e-08, -0.000420802, -2.63045e-05)
                                Node {
                                    id: ___5
                                    y: -2.6269930648121706e-15
                                    z: -6.25
                                    rotation: Qt.quaternion(1, 4.88802e-08, -0.000420124, -2.06172e-05)
                                    Node {
                                        id: ___6
                                        x: 6.938893903907228e-18
                                        y: -5.006557641335993e-17
                                        z: -6.25
                                        rotation: Qt.quaternion(1, 5.489e-08, -0.000419438, 6.09839e-06)
                                        Node {
                                            id: ___7
                                            x: -1.3877787807814457e-17
                                            y: 8.505760860726651e-16
                                            z: -6.25
                                            rotation: Qt.quaternion(1, 3.62711e-08, -0.000418739, 3.81474e-05)
                                            Node {
                                                id: ___8
                                                x: 2.7755575615628914e-17
                                                y: -1.0517303174195636e-15
                                                z: -6.25
                                                rotation: Qt.quaternion(1, -2.91161e-09, -0.000418064, 5.54369e-05)
                                                Node {
                                                    id: ___9
                                                    x: 2.7755575615628914e-17
                                                    y: 5.199443984084742e-16
                                                    z: -6.25
                                                    rotation: Qt.quaternion(1, -4.94832e-08, -0.000417381, 5.61552e-05)
                                                    Node {
                                                        id: ___10
                                                        y: 2.0448662836798637e-15
                                                        z: -6.25
                                                        rotation: Qt.quaternion(1, -9.21905e-08, -0.000416685, 4.65355e-05)
                                                        Node {
                                                            id: ___11
                                                            x: 5.551115123125783e-17
                                                            y: 1.9578251780200118e-15
                                                            z: -6.25
                                                            rotation: Qt.quaternion(1, -1.19698e-07, -0.000416012, 1.99437e-05)
                                                            Node {
                                                                id: chest
                                                                x: -1.1102230246251565e-16
                                                                y: -1.0885389811754465e-15
                                                                z: -6.25
                                                                rotation: Qt.quaternion(1, -1.27326e-07, -0.0004152, -1.00822e-06)
                                                                Node {
                                                                    id: leftShoulder_
                                                                    x: 37.668601989746094
                                                                    y: 1.1211681112399674e-06
                                                                    z: 0.04186145216226578
                                                                    rotation: Qt.quaternion(0.0379512, 0.708439, -0.70393, 0.0340194)
                                                                    scale.x: 1
                                                                    scale.y: 1
                                                                    scale.z: 1
                                                                    Node {
                                                                        id: leftElbow
                                                                        x: -7.105427357601002e-15
                                                                        z: -30.78433609008789
                                                                        rotation: Qt.quaternion(0.933366, -0.00176177, 0.358921, 0)
                                                                        Node {
                                                                            id: leftHand
                                                                            x: 4.0741099383012624e-09
                                                                            y: 1.4210854715202004e-14
                                                                            z: -37.394989013671875
                                                                        }
                                                                    }
                                                                }
                                                                Node {
                                                                    id: rightShoulder_
                                                                    x: -37.60457992553711
                                                                    y: 1.1211681112399674e-06
                                                                    z: 0.04186145216226578
                                                                    rotation: Qt.quaternion(-0.278852, 0.650495, -0.648485, -0.280294)
                                                                    scale.x: 1
                                                                    scale.y: 1
                                                                    scale.z: 1
                                                                    Node {
                                                                        id: rightElbow
                                                                        z: -30.78433609008789
                                                                        rotation: Qt.quaternion(0.972443, -0.00114436, 0.233138, -1.49643e-11)
                                                                        Node {
                                                                            id: rightHand
                                                                            x: -4.073982040608826e-09
                                                                            z: -37.394989013671875
                                                                        }
                                                                    }
                                                                }
                                                                Node {
                                                                    id: neck
                                                                    y: -1.2815540729321784e-15
                                                                    z: -6.25
                                                                    rotation: Qt.quaternion(1, -4.73832e-08, -0.000197037, -6.51751e-05)
                                                                    Node {
                                                                        id: head
                                                                        y: 5.591772704593989e-17
                                                                        z: -25
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    // Animations:
    Timeline {
        startFrame: 0
        endFrame: 2000
        currentFrame: 0
        enabled: true
        animations: TimelineAnimation {
            duration: 2000
            from: 0
            to: 2000
            running: true
            loops: Animation.Infinite
        }
        KeyframeGroup {
            target: leftElbow
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(-7.10543e-15, 0, -30.7843)
            }
        }
        KeyframeGroup {
            target: leftElbow
            property: "rotation"
            keyframeSource: "animations/leftElbow_rotation_0.qad"
        }
        KeyframeGroup {
            target: leftKnee
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(2.41121e-09, -1.06581e-14, -37.5)
            }
        }
        KeyframeGroup {
            target: leftKnee
            property: "rotation"
            keyframeSource: "animations/leftKnee_rotation_0.qad"
        }
        KeyframeGroup {
            target: leftLegRoot
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(12.5, 1.12117e-06, 0.168468)
            }
        }
        KeyframeGroup {
            target: leftLegRoot
            property: "rotation"
            keyframeSource: "animations/leftLegRoot_rotation_0.qad"
        }
        KeyframeGroup {
            target: leftShoulder_
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(37.6686, 1.12117e-06, 0.0418615)
            }
        }
        KeyframeGroup {
            target: leftShoulder_
            property: "rotation"
            keyframeSource: "animations/leftShoulder__rotation_0.qad"
        }
        KeyframeGroup {
            target: rightElbow
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(0, 0, -30.7843)
            }
        }
        KeyframeGroup {
            target: rightElbow
            property: "rotation"
            keyframeSource: "animations/rightElbow_rotation_0.qad"
        }
        KeyframeGroup {
            target: rightKnee
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(2.41121e-09, -1.95399e-14, -37.5)
            }
        }
        KeyframeGroup {
            target: rightKnee
            property: "rotation"
            keyframeSource: "animations/rightKnee_rotation_0.qad"
        }
        KeyframeGroup {
            target: rightLegRoot
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(-12.5506, -4.58614e-15, 0.168468)
            }
        }
        KeyframeGroup {
            target: rightLegRoot
            property: "rotation"
            keyframeSource: "animations/rightLegRoot_rotation_0.qad"
        }
        KeyframeGroup {
            target: rightShoulder_
            property: "position"
            Keyframe {
                frame: 0
                value: Qt.vector3d(-37.6046, 1.12117e-06, 0.0418615)
            }
        }
        KeyframeGroup {
            target: rightShoulder_
            property: "rotation"
            keyframeSource: "animations/rightShoulder__rotation_0.qad"
        }
    }
    
    Node {
        id: __materialLibrary__
    }
}
